@import './common.less';
.header-bar {
    height: 65px;
    overflow: hidden;
    padding-top: 10px;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 750px;
    .icon {
        display: block;
        width: 55px;
        height: 55px;
        background-color: #b2b2b2;
        border-radius: 50%;
        background-repeat: no-repeat;
        &.icon-back {
            float: left;
            margin-left: 22px;
            background-image: url('../img/icon-back.png');
            background-size: 18px 26px;
            background-position: center;
        }
        &.icon-cart {
            float: left;
            background-image: url('../img/icon-shop-s.png');
            background-size: 40px 40px;
            background-position: center;
        }
        &.icon-menu {
            float: right;
            margin-right: 25px;
            margin-left: 36px;
            background-image: url('../img/icon-menu-s.png');
            background-size: 40px 40px;
            background-position: center;
        }
    }
    .right {
        float: right;
    }
}

.banner-box {
    height: 540px;
    border-bottom: 2px solid #eee;
    img {
        width: 100%;
        height: 100%;
        display: block;
    }
}

.describe {
    overflow: hidden;
    padding-bottom: 15px;
    .desc-bar {
        height: 85px;
        overflow: hidden;
        padding: 7px 30px;
        .title {
            width: 590px;
            float: left;
            line-height: 40px;
            font-size: 30px;
            /*px*/
            color: @c333;
        }
        .store {
            color: #e71f19;
            font-size: 16px;
            /*px*/
            float: right;
            height: 70px;
            padding-left: 30px;
            border-left: 2px solid #eee;
            .icon {
                display: block;
                width: 40px;
                height: 40px;
                margin: 0 auto;
                background-size: 40px 40px;
                background-repeat: no-repeat;
                background-position: center;
                margin-bottom: 6px;
                &.icon-star {
                    background-image: url('../img/icon-star-r.png');
                }
            }
        }
    }
    .down {
        overflow: hidden;
        padding: 0 0px 0 30px;
    }
    .price-wrap {
        overflow: hidden;
        width: 170px;
        height: 100%;
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        float: left;
        .now {
            color: #eb2222;
            font-size: 34px;
            /*px*/
        }
        .before {
            color: @c999;
            font-size: 24px;
            /*px*/
            text-decoration: line-through;
        }
    }
    .labels {
        .disc {
            overflow: hidden;
            margin-bottom: 10px;
            span {
                padding: 5px 10px;
                background-color: @mainc;
                color: @cfff;
            }
        }
        .features {
            overflow: hidden;
            span {
                border: 2px solid @mainc;
                padding: 4px 9px;
                color: @mainc;
            }
        }
        span {
            display: inline-block;
            margin-right: 15px;
            font-size: 20px;
            /*px*/
        }
    }
}

.detail-box {
    overflow: hidden;
    padding: 0 0px 130px;
    border-top: 20px solid #eee;
    .tab {
        height: 85px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        a {
            color: @c999;
            font-size: 26px;
            /*px*/
            padding: 0 10px 10px;
            border-bottom: 2px solid transparent;
            &.router-link-active {
                color: @mainc;
                border-bottom: 2px solid @mainc;
            }
        }
    }
}




.pay-bar {
    position: fixed;
    z-index: 999;
    background-color: @cfff;
    bottom: 0;
    left: 0;
    height: 97px;
    width: 750px;
    font-size: 30px;
    /*px*/
    border-top: 2px solid #eee;
    .total {
        float: left;
        line-height: 97px;
        padding-left: 30px;
        color: @c666;
        span {
            color: #eb2222;
        }
    }
    .add,
    .pay {
        width: 200px;
        float: right;
        color: @cfff;
        height: 100%;
        line-height: 97px;
        text-align: center;
    }
    .add {
        background-color: @mainc;
    }
    .pay {
        background-color: #eb2222;
    }
}

.mask {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    z-index: 998;
}

.pay-detail {

    position: fixed;
    width: 670px;
    padding: 0 40px 45px;
    height: auto; // overflow: hidden;
    background-color: @cfff;
    background-clip: padding-box;
    bottom: 99px;
    left: 0;
    z-index: 999;
    border-top: 28px solid transparent;
    .icon.icon-close {
        background-image: url('../img/icon-close.png');
        display: block;
        width: 56px;
        height: 56px;
        background-size: 56px 56px;
        background-repeat: no-repeat;
        position: absolute;
        top: 27px;
        right: 30px;
    }
    .product {
        width: 100%;
        height: 210px;
        img {
            float: left;
            margin-right: 25px;
            width: 200px;
            height: 200px;
            margin-top: -28px;
            border-radius: 7px;
            background-color: @cfff;
            display: block;
            border: 7px solid #eee;
        }
        .desc {
            height: 177px;
            padding-top: 10px;
            display: flex;
            justify-content: center;
            flex-direction: column;
        }
        .price {
            color: #eb2222;
            line-height: 40px;
            font-size: 30px;
            /*px*/
        }
        .stock,
        .select {
            line-height: 36px;
            font-size: 26px;
            /*px*/
            color: @c333;
        }
    }
    .num-wrap {
        height: 54px;
        .num-title {
            line-height: 54px;
            float: left;
            color: @c333;
            font-size: 30px;
            /*px*/
        }
        .num-btn-group {
            float: right;
            width: 198px;
            height: 52px;
            border: 2px solid #eee;
            .icon {
                width: 52px;
                height: 100%;
                display: block;
                line-height: 52px;
                background-color: @c999;
                font-size: 40px;
                /*px*/
                line-height: 52px;
                text-align: center;
                color: @cfff;
                &.icon-reduce {
                    float: left;
                }
                &.icon-add {
                    float: right;
                }
            }
            input {
                width: 94px;
                height: 50px;
                border: none;
                outline: none;
                float: left;
                font-size: 30px;
                line-height: 52px;
                color: @c333;
                text-align: center;
            }
        }
    }
    .size-wrap,
    .age-wrap {
        padding-top: 15px;
        h6 {
            line-height: 68px;
            height: 68px;
            font-size: 30px;
            /*px*/
            color: @c333;
        }
        &>div {
            overflow: hidden;
        }
        input[type=radio] {
            display: none;
            &+span {
                display: inline-block;
                padding: 0px 40px;
                height: 45px;
                line-height: 45px;
                color: @c999;
                background-color: #ddd;
                margin-right: 18px;
                border-radius: 12px;
                font-size: 26px;
                /*px*/
            }
            &:checked+span {
                background-color: @mainc;
                color: @cfff;
            }
        }
    }
}